package com.kyecloud.dubbo.controller;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {
	
	private static Logger logger = LoggerFactory.getLogger(BaseController.class);
	
	@RequestMapping("/demo/{index}.shtml")
	public String index(@PathVariable String index,HttpServletRequest request) {
		logger.info("Msg : 请求路径：",index);
		return index;
	}
}
